package com.matou.auth.social.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author chenmiao0212
 * @date 2021/6/12 22:58
 */
@Data
@Component
@ConfigurationProperties(prefix = "oauth")
public class SocialProperties implements Serializable {

    /**
     * 社交登录功能拦截的url
     */
    private String filterProcessesUrl = "/auth";

//    private QQProperties qq = new QQProperties();

    private WeChatProperties wechat = new WeChatProperties();
}
